package com.example.androidproject.interceptor

import android.util.Log
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.facade.callback.NavigationCallback
import com.alibaba.android.arouter.launcher.ARouter
import com.android.baselibrary.arouter.ArouterContains

class LoginNavigationCallbackImpl:NavigationCallback {
    override fun onFound(postcard: Postcard?) {
        Log.i("TAGss", "LoginNavigationCallbackImpl: onFound ")
    }

    override fun onLost(postcard: Postcard?) {
        Log.i("TAGss", "LoginNavigationCallbackImpl: onLost ")
    }

    override fun onArrival(postcard: Postcard?) {
        Log.i("TAGss", "LoginNavigationCallbackImpl: onArrival ")
    }

    override fun onInterrupt(postcard: Postcard?) {
        Log.i("TAGss", "onInterrupt: 请先登录 ")
       // ARouter.getInstance().build(ArouterContains.DESIGN_MODEL).navigation()
    }
}